// forEachIn
function forEachIn(object, action) {
    for (var property in object) {
    //if(object.hasOwnProperty(property)) 与下面一句话等同
        if (Object.prototype.hasOwnProperty.call(object, property))
            action(property, object[property]);
    }
}
